<!--
  Generated template for the FacePage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>上传身份证验证</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <form class="form-horizontal" method="post" action="http://up.qiniu.com/" enctype="multipart/form-data">
    <input type="hidden" name="token" value="Ulg_mgLt7ByWKL4h2_fF1Gt80YShyr3a89lHaUnM:5T42rjQDg-qxCDncqf4XnTzt0K8=:eyJzY29wZSI6ImFuamlhIiwiZGVhZGxpbmUiOjE1MTQ2MDQ0NTk3ODh9">
    <img class="uplod" src="http://owhah4u2f.bkt.clouddn.com/upload.png">
    <input class="form-control" type="file" name="file" id="sfzupload_file" (change)="checkCard($event.target.files)" placeholder="Upload file">
    <div id="sfzpreview">

    </div>
  </form>

  <div>
    <h3>姓名：{{shenfen?.cards[0].name}}</h3>
    <h3>性别：{{shenfen?.cards[0].gender}}</h3>
    <h3>身份证：{{shenfen?.cards[0].id_card_number}}</h3>
    <h3>出生日期：{{shenfen?.cards[0].birthday}}</h3>
    <h3>民族：{{shenfen?.cards[0].race}}</h3>
    <h3>地址：{{shenfen?.cards[0].address}}</h3>
  </div>
  <button (click)="toUploadImg()"  ion-button>下一步</button>
</ion-content>
